import request from '@/utils/request'

export default {
  // /pMS_Project/myProject/getCatagoryList
  // 我的项目分类及数量
  getCatagoryList(page) {
    return request({
      url: `/pMS_Project/myProject/getCatagoryList`,
      method: 'get',
      params: { pageIndex: page.index, pageSize: page.size }
    })
  },
  // /pMS_Project/myProject/index/{buildState}
  // 我的项目
  getList(page,buildState){
    return request({
      url: `/pMS_Project/myProject/index/${buildState}`,
      method: 'get',
      params: { pageIndex: page.index, pageSize: page.size }
    })
  }
}
